package com.example.demo.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "my.test")
public class MyTestConfigurationProperties {
    /**
     * 测试配置名称
     */
    private String name = "";
    /**
     * 测试端口
     */
    private int port = 88888;
}
